<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet_2_0"%>
<%@ page contentType="text/html" isELIgnored="false"%>

<portlet:actionURL name="messageAction" var="action">
</portlet:actionURL>

<fmt:setBundle basename="messages.HelloPortlet" />

<div style="display: table;">
	<form action="${action}" method="POST">
		<div style="display: table-row;">
			<div style="display: table-cell;">
				<fmt:message key="label.message" />
			</div>
			<div style="display: table-cell;">
				<textArea name="message" rows="5" cols="50">${requestScope.message}</textArea>
			</div>
		</div>
		<div style="display: table-row; color: gray;">
			<fmt:message key="label.message.edit.help" />
		</div>
		<div style="display: table-row;">
			<input type="submit" value="Submit">
		</div>
	</form>
</div>